<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>背景练习</title>
        <style>
            body{
                background-image: url(sky.jpeg);
                background-repeat: no-repeat;
                background-size: cover;
            }
            header{
                text-align:center;
                height:60px;
                line-height: 60px;
                font-size:26px;
                font-weight: bold;
                background-color:rgba(255,255,255,0.5);
            }
            div{
                text-align:center;
                background-color:rgba(255,255,255,0.5);
            }
        </style>
    </head>
    <body>
        <header>梦游天姥吟留别</header>
        <br>
        <div>
            海客谈瀛洲，烟涛微茫信难求。<br>
            越人语天姥，云霞明灭或可睹。<br>
            天姥连天向天横，势拔五岳掩赤城。<br>
            天台四万八千丈，对此欲倒东南倾。<br>
            我欲因之梦吴越，一夜飞度镜湖月。<br>
            湖月照我影，送我至剡溪。<br>
        </div>
    </body>
</html>